package cn.zlp.hrm.domain;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 成长值记录
 * </p>
 *
 * @author zlp
 * @since 2022-01-13
 */
@TableName("t_vip_grow_log")
public class VipGrowLog extends Model<VipGrowLog> {

private static final long serialVersionUID=1L;

                        @TableId(value = "id", type = IdType.AUTO)
                            private Long id;
    @TableField("create_time")
                private Long createTime;
    /**
     * 登录用户
     */
    @TableField("vip_id")
                private Long vipId;
    /**
     * 来源
     */
    @TableField("from_reason")
                private String fromReason;
    /**
     * 成长值
     */
                private Integer score;
    /**
     * 备注
     */
                private String remark;


    public Long getId(){
            return id;
            }

        public void setId(Long id) {
            this.id = id;
            }

    public Long getCreateTime(){
            return createTime;
            }

        public void setCreateTime(Long createTime) {
            this.createTime = createTime;
            }

    public Long getVipId(){
            return vipId;
            }

        public void setVipId(Long vipId) {
            this.vipId = vipId;
            }

    public String getFromReason(){
            return fromReason;
            }

        public void setFromReason(String fromReason) {
            this.fromReason = fromReason;
            }

    public Integer getScore(){
            return score;
            }

        public void setScore(Integer score) {
            this.score = score;
            }

    public String getRemark(){
            return remark;
            }

        public void setRemark(String remark) {
            this.remark = remark;
            }

@Override
protected Serializable pkVal(){
            return this.id;
        }

@Override
public String toString() {
        return "VipGrowLog{" +
                ", id=" + id +
                ", createTime=" + createTime +
                ", vipId=" + vipId +
                ", fromReason=" + fromReason +
                ", score=" + score +
                ", remark=" + remark +
        "}";
        }
        }
